package com.bitejiuyeke.forum.utils;

import java.util.UUID;

/**
 * Created with IntelliJ IDEA.
 * Description:
 * User: 666
 * Date: 2023-11-27
 * Time: 21:36
 */
public class UUIDUtil {
    /**
     * 生成一个UUID（36）
     * @return
     */
    public  static  String UUID_36 (){
        return UUID.randomUUID().toString();
    }
    /**
     * 生成一个UUID（32）
     * @return
     */
    public  static  String UUID_32 (){
        return UUID.randomUUID().toString().replace("-","");
    }
}
